package interview

import (
	"github.com/gin-gonic/gin"
	interviewapi "go-interview-forum/api/interview"
	"go-interview-forum/middleware"
)

func InterviewRouter(g *gin.Engine) {
	user := g.Group("/interview")
	user.Use(middleware.TokenAuth)
	user.POST("list", interviewapi.InterviewList)
	user.POST("create", interviewapi.InterviewCreate)
}
